<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>

<style type="text/css">
<!--
.STYLE1 {font-size: 12px}
.STYLE3 {color: #707070; font-size: 12px; }
.STYLE5 {color: #0a6e0c; font-size: 12px; }
body {
	margin-top: 0px;
	margin-bottom: 0px;
}
-->
</style>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="6%">&nbsp;</td>
        <td width="94%" style="padding-right:10px;"><div align="left"><strong>学生姓名</strong>：${student.nickname } <strong>学号</strong>：${student.stuId } <strong>院系</strong>：${student.clazz.major.dept.deptName } <strong>班级</strong>：${student.clazz.clazzName }</div></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#c9c9c9">
      <tr>
        <td height="22" bgcolor="#FFFFFF"><div align="center"><strong><span class="STYLE1">课程名称</span></strong></div></td>
        <td height="22" bgcolor="#FFFFFF"><div align="center"><strong><span class="STYLE1">任课教师</span></strong></div></td>
        <td height="22" bgcolor="#FFFFFF"><div align="center"><strong><span class="STYLE1">学   时</span></strong></div></td>
        <td height="22" bgcolor="#FFFFFF"><div align="center"><strong><span class="STYLE1">评价操作</span></strong></div></td>
        <td height="22" bgcolor="#FFFFFF"><div align="center"><strong><span class="STYLE1">备 注</span></strong></div></td>
      </tr>
      <c:if test="${!empty caList}">
		  <c:forEach items="${caList}" var="ca">
      <tr>
        <td width="300" height="22" bgcolor="#FFFFFF"><div align="center"><span class="STYLE3">${ca.course.courseName }</span></div></td>
        <td height="22" bgcolor="#FFFFFF"><div align="center"><span class="STYLE3">${ca.teacher.nickname }</span></div></td>
        <td height="22" bgcolor="#FFFFFF"><div align="center"><span class="STYLE3">${ca.course.hours }</span></div></td>
        <td height="22" bgcolor="#FFFFFF"><div align="center"><span class="STYLE3"><a href="courseEvaluate.do?method=evaluate&courseId=${ca.course.id }&studentId=${student.id}&teacherId=${ca.teacher.id}">评价</a></span></div></td>
        <td height="22" bgcolor="#FFFFFF"><div align="center" class="STYLE5">明细</div></td>
      </tr>
          </c:forEach>
	  </c:if> 
    </table></td>
  </tr> 
</table>
